<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>

<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<c:set var="path" value="${pageContext.request.contextPath }" />
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
<meta name="renderer" content="webkit|ie-comp|ie-stand">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport"
	content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
<meta http-equiv="Cache-Control" content="no-siteapp" />
<LINK rel="Bookmark" href="../images/favicon.ico">
<!-- 本框架基本脚本和样式 -->
<script type="text/javascript"
	src="${path }/resource/js/jquery-2.1.4.min.js"></script>
<script type="text/javascript"
	src="${path }/resource/js/systools/MBase.js"></script>


<!-- 文件上传需要的样式 -->

<link rel="stylesheet" type="text/css"
	href="${path }/resource/plugin/kindeditor/themes/default/default.css" />
<link rel="stylesheet" type="text/css"
	href="${path }/resource/plugin/kindeditor/plugins/code/prettify.css" />
<script type="text/javascript"
	src="${path }/resource/plugin/kindeditor/kindeditor.js"></script>
<script type="text/javascript"
	src="${path }/resource/plugin/kindeditor/lang/zh_CN.js"></script>
<script type="text/javascript"
	src="${path }/resource/plugin/kindeditor/plugins/code/prettify.js"></script>

<title></title>
</head>


<div class="ibox-content">
	<form class="form-horizontal" id="dataform"
		onsubmit="javascripr:return false;">

		<input type="hidden" name="tokenUrl" value="${tokenUrl}"> <input
			type="hidden" name="token" value="${token}">
		<c:if test="${obj ne null }">
			<input type="hidden" name="id" value="${obj.id }">
		</c:if> 
		
		
			<div class="form-group" align="center">
				<strong class="col-sm-8 col-sm-offset-2"><h1>${obj.meetingTheme}<small>会议主持:${obj.emcee}</small></h1></strong>
				</div>
			<div class="form-group">
				<div class="col-sm-8 col-sm-offset-2">
				<div class="panel panel-default">
				  <div class="panel-heading" style="width: 100%"><h2>会议摘要</h2></div>
				  <div class="panel-body">
				  	<c:choose>
						<c:when test="${obj.meetingAbstracts ne null}">
							<p>${obj.meetingAbstracts}</p>
						</c:when>
						<c:otherwise>
							暂无
						</c:otherwise>
					</c:choose>
				  </div>
				 </div>
				 </div>
			</div>
		<div class="form-group">
		<div class="col-sm-8 col-sm-offset-2">
			 <div class="panel panel-default">
			 	
			  <div class="panel-heading" style="width: 100%"><h2>会议要点</h2></div>
			  <div class="panel-body">
			  	<c:choose>
					<c:when test="${!empty obj.meetingContent1}">
						<c:forEach items="${obj.meetingContent1}" var="item">
							<div class="form-group">
								<p class="col-sm-11">会议要点${item.orderby}&nbsp;:&nbsp;&nbsp;${item.content}</p>
								<a class="col-sm-1" href="#" onclick="feedback(${item.id})">反馈</a>
							</div>
							<c:if test="${item.feedback ne null}">
								<div class="form-group">
									<p class="col-sm-11" style="color: blue;">&nbsp;&nbsp;要点反馈&nbsp;:&nbsp;&nbsp;${item.feedback}</p>
								</div>
							</c:if>
						</c:forEach>
					</c:when>
					<c:otherwise>
						暂无
					</c:otherwise>
				</c:choose>
			  </div>
			 </div>
			</div>
		</div>
			
		
		<div class="form-group" align="right">
			<h4 class="col-sm-8 col-sm-offset-2">参会人员：${obj.participants} </h4>
		</div>
		<div class="form-group" align="right">
			<h4 class="col-sm-8 col-sm-offset-2">会议时间：<fmt:formatDate value='${obj.meetingTime}' type="date"  pattern="yyyy-dd-MM hh:mm:ss"/> </h4>
		</div>
		<div class="form-group" align="right">
			<h4 class="col-sm-8 col-sm-offset-2">会议地点：${obj.meetingAddress} </h4>
		</div>
	
		<div class="form-group ">
			<div class="col-sm-12 text-center" >
				<!-- <a href="javascript:;" onclick="myForm.submit()"
					class="btn btn-success radius">保存</a>&nbsp;&nbsp;&nbsp;&nbsp; -->
				<button onclick="MTools.closeForm()" class="btn btn-danger radius">关闭</button>
			</div>
		</div>
	</form>
</div>

</body>
<script type="text/javascript">
	function feedback(id) {
		layer.full(layer.open({
			type : 2,
			title : "要点反馈",
			area : [ MUI.SIZE_L, '400px' ],
			maxmin : true,
			content : [ '${path}/admin/meetingContent/editForm?id=' +id]
		}));
	} 
	

</script>
</html>
